package com.wuzf.service.impl;

import java.util.List;
import java.util.Set;

import com.wuzf.dao.ResourceDao;
import com.wuzf.dao.impl.ResourceDaoImpl;
import com.wuzf.entity.Resource;
import com.wuzf.service.ResourceService;

public class ResourceServiceImpl implements ResourceService{
	
	ResourceDao dao = new ResourceDaoImpl();

	public Set<String> findPermissions(Set<Long> resourceIds) {
		
		return dao.findPermissions(resourceIds);
	}

	public List<Resource> findMenus(Set<String> permissions) {
		
		return dao.findMenus(permissions);
	}
	
}
